.class Lcom/brixd/niceapp/activity/AppVideoActivity$10;
.super Ljava/lang/Object;
.source "AppVideoActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/AppVideoActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/AppVideoActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/AppVideoActivity;

    .prologue
    .line 358
    iput-object p1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 361
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    const-string v1, "VideoPlayReplay"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 363
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1500(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/media/MediaPlayer;

    move-result-object v0

    if-eqz v0, :cond_5b

    .line 364
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mCurrentPosition:I
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1800(Lcom/brixd/niceapp/activity/AppVideoActivity;)I

    move-result v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mProgressSeekBar:Landroid/widget/SeekBar;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1900(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/widget/SeekBar;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/SeekBar;->getMax()I

    move-result v1

    if-eq v0, v1, :cond_34

    .line 365
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1500(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/media/MediaPlayer;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mProgressSeekBar:Landroid/widget/SeekBar;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1900(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/widget/SeekBar;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/SeekBar;->getProgress()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/media/MediaPlayer;->seekTo(I)V

    .line 367
    :cond_34
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1500(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/media/MediaPlayer;

    move-result-object v0

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->start()V

    .line 368
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    const/4 v1, 0x1

    # setter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mCurrentPlayStatus:I
    invoke-static {v0, v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$602(Lcom/brixd/niceapp/activity/AppVideoActivity;I)I

    .line 370
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mTopBarActions:Landroid/view/ViewGroup;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$2000(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/view/ViewGroup;

    move-result-object v0

    new-instance v1, Landroid/animation/LayoutTransition;

    invoke-direct {v1}, Landroid/animation/LayoutTransition;-><init>()V

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setLayoutTransition(Landroid/animation/LayoutTransition;)V

    .line 371
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->hideControlToolBar()V
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$000(Lcom/brixd/niceapp/activity/AppVideoActivity;)V

    .line 372
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$10;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->hideCenterPanel()V
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$2100(Lcom/brixd/niceapp/activity/AppVideoActivity;)V

    .line 374
    :cond_5b
    return-void
.end method
